loadConfig({
  branchCheck: { targets: ["master", "develop"] },
  lockfileCheck: {
    registry: {
      url: "http",
      antiParams: [],
    },
    lockSemver: "major",
    lockVersion: 1,
  },
  printer: {
    deleted: true,
  },
  rangeCheck: [
    {
      rootDir: "src/pages",
      summary: "这个 MR 修改了某些产品线的内容",
      workDirs: ["DT", "FL", "FS", "LS"],
    },
  ],
  packageJsonCheck: [
    {
      noBeta: true,
    },
  ],
  protectedFilesCheck: [
    {
      file: "README.md",
      reason: "文档不要更新，内容需要迁移到 `/docs` 下",
      level: "fail",
    },
    ".eslintrc.js",
    ".gitignore",
    ".npmrc",
    /(.*)\/\.prettierrc/i,
    ".sentryclirc",
    "babel.config.js",
    "polyfill.js",
    "tsconfig.json",
    /^config\/.*/i,
  ],
});
